Skip to content

Website Hero Demo crashes when resolving a deletion conflict #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
FelipeEmos opened this issue May 27, 2025 Β· 3 comments
Closed

Website Hero Demo crashes when resolving a deletion conflict #322

FelipeEmos opened this issue May 27, 2025 Β· 3 comments
Assignees
Labels
bug Something isn't working website

Comments

@FelipeEmos
Copy link

FelipeEmos commented May 27, 2025 β€’

TL;DR

  • offline DELETE square while other online agent updates it
  • crash

Steps to Reproduce

  • Choose a common square X that is filled
Phone 1 Phone2
πŸ”΄ Go Offline ---
πŸ—‘οΈ Delete square X ---
--- ✏️ Modify square X
🟒 Go back online ---

Video Showcase

LivestoreBug.mp4

Tested on

Linux Endeavour OS intel x86

  • Firefox & ZenBrowser
  • Brave & Chromium

Error Message

Error: LiveStore.SqliteError: { "query": undefined, "code": -1, "cause": RuntimeError: indirect call to null, "note": "Failed calling makeChangeset.apply" } BaseEffectError@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:26:46180 s@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:32:27364 T@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:32:28528 h@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:32:27466 Vn@https://livestore.dev/_astro/common.J3RvJD4F.js:5:12674 apply@https://livestore.dev/_astro/common.J3RvJD4F.js:27:10163 rollback@https://livestore.dev/_astro/common.J3RvJD4F.js:46:1501 rollback@https://livestore.dev/_astro/common.J3RvJD4F.js:52:1993 i0/m</</<@https://livestore.dev/_astro/common.J3RvJD4F.js:21:10651 bi/r<@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:26:23089 at client-session-sync-processor:pull (bi/r<@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:26:23089) at createStore (bi/r<@https://livestore.dev/_astro/FetchHttpClient.CG40F1Lb.js:26:23089) at @livestore/react:useCreateStore (Lu@https://livestore.dev/_astro/client.DxZNQU9M.js:24:83263)

Thoughts

I don't know if this is a LiveStore bug or just a website one... The simplicity of the steps makes me believe it's more likely just a DEMO bug, maybe it's just not setup to handle this specific conflict well, but it's just a guess

@FelipeEmos FelipeEmos changed the title Website Hero Demo crashes when resolving a conflict -> offline DELETE square while other agent updates it Website Hero Demo crashes when resolving a deletion conflict May 27, 2025
@FelipeEmos
Copy link
Author

Does anyone know where the code for the website's landing page is? πŸ€”
I tried to investigate the bug I described above but couldn't find the demo or the landing page code...

@schickling schickling added website bug Something isn't working labels May 29, 2025
@schickling schickling self-assigned this May 29, 2025
@raksan-test
Copy link

The website is proprietary so better not do anything

@schickling
Copy link
Collaborator

Thanks a lot. Looking into it. Closing in favour of #334.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working website
Projects
None yet
Development

No branches or pull requests

3 participants